using System;

public class AdminWSProxy : umlungu.engineX.webX.prophet.adminX {
    /// <remarks>
    /// Call method calls the webmethod in the proxy class, indicated by the "which" parameter
	///	- Note that the order of the parameters is important (rather do this as an associative array?)
    /// </remarks>
	public string Call(string which, object[] parameters) {
		string result = "";
		switch (which) {
			case "Login":					result = Login((string)parameters[0], (string)parameters[1]).OuterXml;		break;
			case "RegisterAuthor":			result = RegisterAuthor((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3], (string)parameters[4], (string)parameters[5], (string)parameters[6], (string)parameters[7], (string)parameters[8]).OuterXml;		break;
			case "RegisterSubscriber":		result = RegisterSubscriber((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3], (string)parameters[4], (string)parameters[5], (string)parameters[6], (string)parameters[7], (string)parameters[8], (string)parameters[9]).OuterXml;		break;
			case "UpdateSubscriber":		result = UpdateSubscriber((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3], (string)parameters[4], (string)parameters[5], (string)parameters[6], (string)parameters[7], (string)parameters[8], (string)parameters[9]).OuterXml;		break;
			case "GetSpace":				result = GetSpace((string)parameters[0], (string)parameters[1]).OuterXml;		break;
			case "ListSpaces":				result = ListSpaces((string)parameters[0]).OuterXml;		break;
			case "AddSpace":				result = AddSpace((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3], (string)parameters[4], (string)parameters[5], (string)parameters[6]).OuterXml;		break;
			case "EditSpace":				result = EditSpace((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3], (string)parameters[4], (string)parameters[5]).OuterXml;		break;
			case "UpdateSpace":				result = UpdateSpace((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3], (string)parameters[4], (string)parameters[5], (string)parameters[6], (string)parameters[7], (string)parameters[8]).OuterXml;		break;
			case "RemoveSpace":				result = RemoveSpace((string)parameters[0], (string)parameters[1]).OuterXml;		break;
			case "GetSpaceBlog":			result = GetSpaceBlog((string)parameters[0], (string)parameters[1]).OuterXml;		break;
			case "AddSpaceBlog":			result = AddSpaceBlog((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3], (string)parameters[4], (string)parameters[5]).OuterXml;		break;
			case "AddSpaceImage":			result = AddSpaceImage((string)parameters[0], (string)parameters[1], (string)parameters[2]).OuterXml;		break;
			case "ChangeArchive":			result = ChangeArchive((string)parameters[0], (string)parameters[1], (string)parameters[2]).OuterXml;		break;
			case "DeleteUser":				result = DeleteUser((string)parameters[0], (string)parameters[1], (string)parameters[2]).OuterXml;		break;
			case "AddLink":					result = AddLink((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3]).OuterXml;		break;
			case "EditLink":				result = EditLink((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3], (string)parameters[4]).OuterXml;		break;
			case "DeleteLink":				result = DeleteLink((string)parameters[0], (string)parameters[1], (string)parameters[2]).OuterXml;		break;
			case "AddTopic":				result = AddTopic((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3], (string)parameters[4]).OuterXml;		break;
			case "EditTopic":				result = EditTopic((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3], (string)parameters[4]).OuterXml;		break;
			case "DeleteTopic":				result = DeleteTopic((string)parameters[0], (string)parameters[1], (string)parameters[2]).OuterXml;		break;
			case "GetTopicBlog":			result = GetTopicBlog((string)parameters[0], (string)parameters[1], (string)parameters[2]).OuterXml;		break;
			case "AddTopicBlog":			result = AddTopicBlog((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3], (string)parameters[4], (string)parameters[5], (string)parameters[6]).OuterXml;		break;
			case "AddTopicImage":			result = AddTopicImage((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3]).OuterXml;		break;
			case "UpdateTopic":				result = UpdateTopic((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3], (string)parameters[4], (string)parameters[5], (string)parameters[6], (string)parameters[7], (string)parameters[8]).OuterXml;		break;
			case "GetBlog":					result = GetBlog((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3], (string)parameters[4]).OuterXml;		break;
			case "ListBlogs":				result = ListBlogs((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3]).OuterXml;		break;
			case "AddTextBlog":				result = AddTextBlog((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3], (string)parameters[4]).OuterXml;		break;
			case "AddTextBlogID":			result = AddTextBlogID((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3], (string)parameters[4], (string)parameters[5]).OuterXml;		break;
			case "AddHtmlBlog":				result = AddHtmlBlog((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3], (string)parameters[4]).OuterXml;		break;
			case "AddHtmlBlogXml":			result = AddHtmlBlogXml((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3], (string)parameters[4], (string)parameters[5]).OuterXml;		break;
			case "AddHtmlBlogDate":			result = AddHtmlBlogDate((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3], (string)parameters[4], (string)parameters[5], (string)parameters[6], (string)parameters[7], (string)parameters[8]).OuterXml;		break;
			case "AddHtmlBlogID":			result = AddHtmlBlogID((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3], (string)parameters[4], (string)parameters[5]).OuterXml;		break;
			case "AddBlog":					result = AddBlog((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3], (string)parameters[4]).OuterXml;		break;
			case "AddBlogID":				result = AddBlogID((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3], (string)parameters[4], (string)parameters[5]).OuterXml;		break;
			case "DeleteBlog":				result = DeleteBlog((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3]).OuterXml;		break;
			case "EditBlog":				result = EditBlog((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3], (string)parameters[4], (string)parameters[5]).OuterXml;		break;
			case "EditTextBlog":			result = EditTextBlog((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3], (string)parameters[4], (string)parameters[5]).OuterXml;		break;
			case "EditHtmlBlog":			result = EditHtmlBlog((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3], (string)parameters[4], (string)parameters[5]).OuterXml;		break;
			case "EditHtmlBlogXml":			result = EditHtmlBlogXml((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3], (string)parameters[4], (string)parameters[5], (string)parameters[6]).OuterXml;		break;
			case "EditHtmlBlogDate":		result = EditHtmlBlogDate((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3], (string)parameters[4], (string)parameters[5], (string)parameters[6]).OuterXml;		break;
			case "GetBlogComment":			result = GetBlogComment((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3], (string)parameters[4]).OuterXml;		break;
			case "AddBlogComment":			result = AddBlogComment((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3], (string)parameters[4], (string)parameters[5], (string)parameters[6]).OuterXml;		break;
			case "EditBlogComment":			result = EditBlogComment((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3], (string)parameters[4], (string)parameters[5], (string)parameters[6]).OuterXml;		break;
			case "DeleteBlogComment":		result = DeleteBlogComment((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3], (string)parameters[4]).OuterXml;		break;
			case "GetBlogImage":			result = GetBlogImage((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3], (string)parameters[4]).OuterXml;		break;
			case "AddBlogImage":			result = AddBlogImage((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3], (string)parameters[4], (string)parameters[5], (string)parameters[6]).OuterXml;		break;
			case "EditBlogImage":			result = EditBlogImage((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3], (string)parameters[4], (string)parameters[5], (string)parameters[6]).OuterXml;		break;
			case "DeleteBlogImage":			result = DeleteBlogImage((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3], (string)parameters[4]).OuterXml;		break;
			case "DefaultBlogImage":		result = DefaultBlogImage((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3], (string)parameters[4]).OuterXml;		break;
			case "ListUsers":				result = ListUsers((string)parameters[0]).OuterXml;		break;
			case "ListUsersByGroup":		result = ListUsersByGroup((string)parameters[0], (string)parameters[1]).OuterXml;		break;
			case "GetUser":					result = GetUser((string)parameters[0], (string)parameters[1]).OuterXml;		break;
			case "AddUser":					result = AddUser((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3], (string)parameters[4], (string)parameters[5], (string)parameters[6], (string)parameters[7], (string)parameters[8]).OuterXml;		break;
			case "EditUser":				result = EditUser((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3], (string)parameters[4], (string)parameters[5], (string)parameters[6]).OuterXml;		break;
			case "RemoveUser":				result = RemoveUser((string)parameters[0], (string)parameters[1]).OuterXml;		break;
			case "ChangeLogin":				result = ChangeLogin((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3]).OuterXml;		break;
			case "AddUserBlog":				result = AddUserBlog((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3]).OuterXml;		break;
			case "GetUserBlog":				result = GetUserBlog((string)parameters[0], (string)parameters[1]).OuterXml;		break;
			case "GetUserSpaces":			result = GetUserSpaces((string)parameters[0], (string)parameters[1]).OuterXml;		break;
			case "AddUserSpace":			result = AddUserSpace((string)parameters[0], (string)parameters[1], (string)parameters[2]).OuterXml;		break;
			case "DeleteUserSpace":			result = DeleteUserSpace((string)parameters[0], (string)parameters[1], (string)parameters[2]).OuterXml;		break;
			case "DefaultUserSpace":		result = DefaultUserSpace((string)parameters[0], (string)parameters[1], (string)parameters[2]).OuterXml;		break;
			case "UploadNewsletter":		result = UploadNewsletter((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3], (string)parameters[4]).OuterXml;		break;
			case "SendNewsletter":			result = SendNewsletter((string)parameters[0], (string)parameters[1], (string)parameters[2], (string)parameters[3], (string)parameters[4]).OuterXml;		break;
		}
		return(result);
	}
}
